Sequence enumeration
نویسنده
چکیده
The purpose of this paper is to present a method for treating uniformly a large number of enumeration problems involving sequences over a finite alphabet subject to general restrictions. Many of these problems are classical in origin, including the Mrnage problem (Lucas [16]), the alternating permutation problem (Netto [19], Andr6 [1, 2]), the derangement problem (Montmort [18]), and more recently, the Simon Newcomb problem (Riordan [21]) and the Smirnov problem (Smirnov, Saramanov, Zaharov [23]). Renewed interest in sequence enumeration has been shown in the recent literature. In a given situation, we obtain a regular expression which generates all permissible sequences. The generating function associated with the problem is obtained by a simple transformation of this expression. This process of transformation has a direct combinatorial basis and involves the insertion of indeterminares to record the appropriate combinatorial information. Thus, we consider all sequences in a class and choose those with the required property by extracting the coefficient of the appropriate power of the indeterminate. Additive and multiplicative properties of these generating functions are given, which allow us to induce a linear system of equations for the required function. The solution, obtained by Cramer's Rule, consists of generating functions for elementary objects. These in turn are easily found by combinatorial means. Our concern in this paper is to present a general method, together with a few examples which illustrate the ways in which the method is used. The reference which is cited for each result is, as far as it is possible to discover, a reference to the first solution, usually by other means. Several proofs are omitted. These are accessible in the literature and concern algebraic devices used in the theory.
منابع مشابه
Augmenting Sequence Enumeration with String-Rewriting for Requirements Analysis and Behavioral Specification
Sequence enumeration is a method for deriving a system model based on informal requirements. Under sequence enumeration, stimulus (input) sequences are considered in a breadth-first manner, with the expected system response to each sequence given. Not all sequences of stimuli are considered since a sequence need not be extended if either it is illegal (it cannot be applied in practice) or it ca...
متن کاملDeveloping Black Box Specifications Through Sequence Enumeration
A rigorous behavioral specification can greatly reduce risk by exposing ambiguities in requirements and making explicit otherwise tacit information. Such an external, or “black box” specification can be developed from behavioral requirements in a systematic manner through the process of sequence enumeration. This process results in an arguably complete, consistent, and traceable specification o...
متن کاملThe limitations of cupping in the local structure of the enumeration degrees
We prove that a sequence of sets containing representatives of cupping partners for every nonzero ∆2 enumeration degree cannot have a ∆ 0 2 enumeration. We also prove that no subclass of the Σ 2 enumeration degrees containing the nonzero 3-c.e. enumeration degrees can be cupped to 0e by a single incomplete Σ 2 enumeration degree.
متن کاملSequence Segmentation by Enumeration: An Exploration
We investigate exhaustive enumeration and subsequent language model evaluation (E&E approach) as an alternative to solving the sequence segmentation problem. We show that, under certain conditions (on string lengths and regarding a possibility to accurately estimate the number of segments), which are satisfied for important NLP applications, such as phonological segmentation, syllabification, a...
متن کاملDeveloping a Black Box Specification in Controlled English
This paper presents a controlled natural language (PENG Processable ENGlish) and suggests a dialog-driven method for developing a Black Box specification from behavioral requirements written in that controlled language. Such a Black Box specification can be developed in an interactive and systematic way through the process of sequence enumeration. The strength of sequence enumeration is that it...
متن کاملAlgebraic Methods for Permutations with Prescribed Patterns
Many problems which arise in a variety of disciplines may be expressed in terms of the enumeration of sequences, over a finite alphabet, which possess certain prescribed characteristics. Typical problems include the enumeration of non-self-intersecting paths on a rectangular lattice (a problem from crystal physics, Seymour and Welsh [ 16]), and the enumeration of sequences with no substrings in...
متن کامل